package samples.chapter01;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RequestMapping("/chapter01")
@RestController
public class Chapter01HelloController {
    @GetMapping("/hello")
    public String hello() {
        return "Hello spring boot!";
    }
}
